QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++14

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    ix/ix_index_handle.cpp \
    ix/ix_manager.cpp \
    ix/ix_scan.cpp \
    ix/ix_test.cpp \
    main.cpp \
    other/logs.cpp \
    other/user.cpp \
    parser/ast.cpp \
    parser/lex.yy.cpp \
    parser/parser_test.cpp \
    parser/yacc.tab.cpp \
    pf/pf_manager.cpp \
    pf/pf_pager.cpp \
    pf/pf_test.cpp \
    ql/ql_manager.cpp \
    ql/ql_node.cpp \
    ql/ql_test.cpp \
    rm/rm_file_handle.cpp \
    rm/rm_manager.cpp \
    rm/rm_scan.cpp \
    rm/rm_test.cpp \
    sm/sm_manager.cpp \
    sm/sm_test.cpp \
    ui/aboutwidget.cpp \
    ui/codeeditor.cpp \
    ui/createuserwidget.cpp \
    ui/mainwindow.cpp \

HEADERS += \
    defs.h \
    error.h \
    interp.h \
    ix/ix.h \
    ix/ix_defs.h \
    ix/ix_index_handle.h \
    ix/ix_manager.h \
    ix/ix_scan.h \
    other/logs.h \
    other/user.h \
    parser/ast.h \
    parser/ast_printer.h \
    parser/parser.h \
    parser/parser_defs.h \
    parser/yacc.tab.h \
    pf/pf.h \
    pf/pf_defs.h \
    pf/pf_manager.h \
    pf/pf_pager.h \
    ql/ql.h \
    ql/ql_defs.h \
    ql/ql_manager.h \
    ql/ql_node.h \
    record_printer.h \
    rm/bitmap.h \
    rm/rm.h \
    rm/rm_defs.h \
    rm/rm_file_handle.h \
    rm/rm_manager.h \
    rm/rm_scan.h \
    sm/sm.h \
    sm/sm_defs.h \
    sm/sm_manager.h \
    sm/sm_meta.h \
    ui/aboutwidget.h \
    ui/codeeditor.h \
    ui/createuserwidget.h \
    ui/mainwindow.h \

FORMS += \
    ui/aboutwidget.ui \
    ui/createuserwidget.ui \
    ui/mainwindow.ui

include(D:/Git/googletest/gtest_dependency.pri)

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    img.qrc

RC_ICONS = dog.ico
